import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:ost_flutter_module/class/store/order_page/bloc/order_page_bloc.dart';
import 'package:ost_flutter_module/class/store/order_page/store_order_page_body.dart';
import 'package:ost_flutter_module/class/store/order_page/store_order_page_bottom_naviagtion_bar.dart';
import 'package:ost_flutter_module/common/styles.dart';
import 'package:ost_flutter_module/widget/custom_widget/custome_scaffold.dart';

class StoreOrderPage extends StatelessWidget {
  const StoreOrderPage({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return BlocProvider<OrderPageBloc>(
      create: (context) => OrderPageBloc(),
      child: GScaffold(
        title: Text('确认订单', style: TextStyles.appBarTitleStyle),
        body: StoreOrderPageBody(),
        bottomNavigationBar: StoreOrderPageBottomNavigationBar(),
      ),
    );
  }
}
